﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using jobhuntr.BusinessLogic;

namespace TestHarness
{
    class Program
    {
        static void Main(string[] args)
        {
            UserService uSvc = new UserService();

            foreach (User  u in uSvc.GetUsers ())
            {
                Console.WriteLine("{0} - {1}", u.UserName, u.PasswordHash );
                uSvc.ChangePassword(u.UserName.Trim(), "Password", "password");

                User u2 = uSvc.GetUser(u.UserName.Trim());
                Console.WriteLine("{0} - {1}", u2.UserName, u2.PasswordHash);
            }


            Console.ReadLine();
        }
    }
}
